home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.c
- Subject: Re: What's your compiler's answer?
- Date: 16 Feb 1996 10:06:05 -0600
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4g2a1d$r33@solutions.solon.com>
- References: <1996Feb7.140945.28351@cs.rit.edu> <4fq0cq$h9s@hpbblb.bbn.hp.com> <danpop.824432113@rscernix>
- NNTP-Posting-Host: solutions.solon.com
-
- In article <danpop.824432113@rscernix>, Dan Pop <danpop@mail.cern.ch> wrote:
- >j = i++, i++, i++; /* equivalent to: j = i + 2; i += 3; */
-
- Don't you mean "/* equivalent to: j = i; i += 3; */"?
-
- (And, of course, it's not equivalent if i is volatile.)
-
- >If you have any objections to any of these examples, please read the FAQ
- >before expressing them in the newsgroup.
-
- I can't seem to find mine, but I'm pretty sure that comma binds later than
- assignment, or however you say it. (Not "comma has lower precedence" - C
- has no precedence, although it may act convincingly like it does.)
-
- -s
- --
- Peter Seebach - seebs@solon.com - Copyright 1995 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- FUCK the communications decency act. Goddamned government. [literally.]
- The *other* C FAQ - ftp taniemarie.solon.com /pub/c/afq - Not A Flying Toy
-